import Router from 'koa-router'

const router = new Router({
  prefix: '/users'
})

// 注册
router.post('/signup', require('./login/signup'))

// 登录
router.post('/signin', require('./login/signin'))

// 验证验证码
router.post('/verify', require('./login/verify'))

// 退出
router.get('/exit', require('./login/exit'))

// 获取用户信息
router.get('/getUser', require('./login/getUser'))

export default router
